home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / pdomain.txt < prev    next >
Text File  |  1992-03-24  |  2KB  |  64 lines

  1. Pdomain(2)                Oct. 1, 1991                 Pdomain(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Pdomain - get or set process execution domain
  7.  
  8. SYNOPSIS
  9.      WORD Pdomain( WORD dom );
  10.  
  11. DESCRIPTION
  12.      Pdomain gets or sets the process execution domain. This is a
  13.      number which controls the behavior of a process. The default
  14.      domain is 0, which is the TOS compatibility  domain  and  in
  15.      which  all system calls behave exactly as they do under TOS.
  16.      Domain 1 is the MiNT domain; in this domain, the behavior of
  17.      the  Fread and Fwrite system calls when applied to terminals
  18.      are controlled by the current  terminal  settings  as  esta-
  19.      blished  by  the  Fcntl  system  call.  Moreover, file names
  20.      returned from Fsfirst and Fsnext may be treated differently;
  21.      MiNT  domain  processes are expected to be able to deal with
  22.      file names that are not standard 8 character name + 3  char-
  23.      acter extension, all upper case, DOS file names.
  24.  
  25.      If dom is greater than or equal to 0, the process domain  is
  26.      set  to  its  value.  Note  that  only  domains  0 and 1 are
  27.      currently defined, and  the  result  of  using  a  different
  28.      (positive)  number for dom is unpredictable. If dom is nega-
  29.      tive, no change is made to the process domain.
  30.  
  31. RETURNS
  32.      The process domain at the time of  the  Pdomain  call  (i.e.
  33.      before any change).
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.